#pragma once


#include "stdafx.h"
#include "resource.h"
#include "blepo.h" // include the blepo header file.
#include <iostream>
#include <math.h>
#include <string>


#ifdef _DEBUG
#define new DEBUG_NEW
#endif

#define g_const_f 2.5 // The Gaussian constant f used to calculate the half width of the gaussian kernel.
#define deri 1 // Bool value for derivative of gaussian


using namespace blepo; // Include the blepo namespace.
using namespace std;

void PickFile(CString& FilePath, CString &FDir)
{
	
			CFileDialog GetFile(TRUE); //Open Dialog Box to select a file.
			


			GetFile.m_ofn.lpstrTitle = "Pick the First Image";

			if(GetFile.DoModal() == IDOK)
			  {
				FilePath = GetFile.GetPathName(); // return full path and filename
				FDir = GetFile.GetFolderPath();
			  }
			//return(FilePath);
}
